package com.ruixi.spring.aopxml;

import org.springframework.stereotype.Component;

//以XML方式配置切面
@Component
public class MyLogger {

    public void before(){
        System.out.println("前置通知");
    }

}
